
class Person{
    private String name = "Person";
    int age = 0;
}


public class Child extends Person{
    public String grade;

    public static void main(String[] args) {
        Person p = new Child();
//        System.out.println(p.name); error  private在类外不能直接访问
    }

}
